package com.knife.bbs.domain;

import com.knife.dbo.IObject;

public class VoteItem implements IObject {

	private String cid;
	private String voteid;
	private String info;
	private Number votenum;

	public String getTableName() {	
		return "voteitem";
	}

	public String getKeyField() {	
		return "cid";
	}

	public String getKeyGenerator() {	
		return "com.knife.dbo.RandomIdGenerator";
	}
	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getVoteid() {
		return voteid;
	}

	public void setVoteid(String voteid) {
		this.voteid = voteid;
	}

	public Number getVotenum() {
		return votenum;
	}

	public void setVotenum(Number votenum) {
		this.votenum = votenum;
	}


	public String toString(){
		String ret="voteitem:    cid="+cid+"    info:"+info+"   voteid:"+voteid+"   num: "+votenum;
		return ret;
	}


}
